"""
Element UI 样式和主题系统

包含主题管理器、样式引擎和预定义主题配置
"""

from .themes import (
    ElementColors,
    ELEMENT_DEFAULT_THEME,
    ELEMENT_DARK_THEME,
    BUILT_IN_THEMES,
    Theme,
    get_theme_by_name,
    get_available_themes,
    get_theme_color,
    get_theme_size,
    GlobalTheme,
)

from .theme_manager import (
    ThemeManager,
    ThemeChangeEvent,
    theme_manager,
    get_current_theme,
    switch_theme,
    get_theme_variable,
    get_theme_color as get_current_theme_color,
    get_theme_size as get_current_theme_size,
)

from .style_engine import (
    StyleEngine,
    StyleResolver,
    StyleProperties,
    style_engine,
    parse_css,
    create_button_style,
    create_input_style,
)

# 导出所有公共接口
__all__ = [
    # 主题系统核心类
    'ThemeManager',
    'ThemeChangeEvent', 
    'StyleEngine',
    'StyleResolver',
    'StyleProperties',
    
    # 全局实例
    'theme_manager',
    'style_engine',
    'Theme',
    
    # 主题配置和颜色
    'ElementColors',
    'ELEMENT_DEFAULT_THEME',
    'ELEMENT_DARK_THEME', 
    'BUILT_IN_THEMES',
    'GlobalTheme',
    
    # 便捷函数
    'get_theme_by_name',
    'get_available_themes',
    'get_theme_color',
    'get_theme_size',
    'get_current_theme',
    'switch_theme',
    'get_theme_variable',
    'get_current_theme_color',
    'get_current_theme_size',
    'parse_css',
    'create_button_style',
    'create_input_style',
]